package com.wj.dubbo.service.crawler.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.wj.dubbo.service.crawler.entity.CrawlerSocialSummary;
import com.wj.dubbo.service.crawler.mapper.CrawlerSocialSummaryMapper;
import com.wj.dubbo.service.crawler.service.ICrawlerSocialSummaryService;

/**
 * <p>
 * 社保汇总列表 服务实现类
 * </p>
 *
 * @author lee
 * @since 2017-04-28
 */
@Service
public class CrawlerSocialSummaryServiceImpl extends ServiceImpl<CrawlerSocialSummaryMapper, CrawlerSocialSummary> implements ICrawlerSocialSummaryService {

	@Autowired
	private CrawlerSocialSummaryMapper  summaryMapper;
	
	
	public void deleteSummaryByYears(String year,String managerId) {
		summaryMapper.deleteSummaryByYears(year,managerId);
	}

	public List<CrawlerSocialSummary> queryByYear(String year,String managerId) {
		return summaryMapper.queryByYear(year,managerId);
	}
	
	
}
